[PATCH vkd3d 2/6] vkd3d-shader/hlsl: Factor out add_unary_expr().