Treat union like struct.

This has a pointer type and methods defined on a union treat
the self-arg as a pointer.

This lets the binding for GMutex look more correct.