[PATCH vkd3d 1/3] vkd3d: Add inline wrappers for the pthread synchronization functions.