define gcc_type better

This defines gcc_type in a way that is compatible with GCC internals.