gcc_struct attribute is only supported for x86

Also this workaround is required for MinGW only.