[PATCH v2 1/1] vkd3d-shader/hlsl: Add a helper to check for a numeric type.