Fix build on GCC architectures.
PR: 235535 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Reported by: Piotr Kubaj <pkubaj@anongoth.pl>