[PATCH v2 4/4] vkd3d-shader/spirv: Use a helper function to check if a data type is floating point.