macros: GCC 4.4 cannot do #pragma diagnostic push/pop

Signed-off-by: Matthias Kretz <kretz@kde.org>