Józef Kucia : d3d11/tests: Introduce get_resource_data() helper function.