girparser: Don't assume sizeof(size_t) == sizeof(void *)
We don't actually need to use the results of configure-time checks here: sizeof is a perfectly reasonable integer constant expression, so we can use that directly.
Helps: #2842
/cc @arichardson