gir: Hide pthread types in deprecated GThread structures
We only care about the introspection data for documentation purposes; the GStaticMutex and GStaticRecMutex types are long since deprecated, and they cannot be used from language bindings anyway, so their size is immaterial.
Fixes: #3222 (closed)