[qt5-build] Let configure figure out reduced relocations support.

This should fix arm and ppc support (at least). See upstream bug
https://bugreports.qt-project.org/browse/QTBUG-36129

Thanks to Vladimir Smirnov <civil@gentoo.org> for the heads-up.