vkd3d-shader/dxil: Avoid a warning on some compilers when converting UINT_MAX to float.
Some compilers emit a warning because the conversion of UINT_MAX to float changes the value.
I don't really care too much about returning NaN specifically here. Zero is fine too, as is just removing the check. I just want to get rid of the warning.
Edited by Giovanni Mascellani