[PATCH v2 3/5] vkd3d-shader: Avoid implicit enum pointer casts in allocate_semantic_register.