Matteo Bruni : d3d9/tests: Add helpers to avoid multiple readbacks of the render target surface.