Nikolay Sivov : vkd3d-shader/hlsl: Add a helper to check for a numeric type.