remove __attribute__ if not using gcc

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