use, and define, __GCC__ rather than usign __GNUC__

Signed-off-by: Mattias Andrée <maandree@operamail.com>