Revert "qtcompat_p.h: Sync from upstream version"
Breaks compilation with Qt 5.6
This reverts commit 5da0a9cd746a18bc8796ae2910370fa8192847c6.