[PATCH 8/9] include: Add RTL_QUERY_REGISTRY_TYPECHECK defines.