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