gitypelib-internal: Use a switch to check if blob is a registered type
No need to go through all the possible blob types, while we can use an inline function to check it.
No need to go through all the possible blob types, while we can use an inline function to check it.