[PATCH vkd3d 07/10] tests: Move some helpers to d3d12_crosstest.h.