Fix setenv.c diagnostic pragma to be compatible with GCC 4.6