vkd3d-shader/dxil: Validate the function return type after calling the handler. The handler writes the destination value.
vkd3d-shader/dxil: Check the destination value is invalid after calling a void function handler.
vkd3d-shader/dxil: Add a null check for the type when validating non-void operands.