compiler/libec: Only using gcc_struct attribute for MinGW