[PATCH v3 3/3] GetPointerType: Drop into an error and return false when id or type is invalid