[PATCH v4 2/3] vkd3d-shader/dxil: Move the resource kind helper functions up.