glapi: Remove unsafe check of global pointer from getter macros
Splitting out from !9165 (merged), since after that merges, this will only impact BSD/Haiku.
Splitting out from !9165 (merged), since after that merges, this will only impact BSD/Haiku.