Remove warning pragmas.

They are only available on gcc 4.6 and newer, and clang.