misc/qt5ct: fix build on GCC-based architectures
PR: 232001 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>