[PATCH v3 1/6] d3dx10/tests: Use readback functions from d3d10core tests for resource readback.