d3d9: Use a HAL device for the stateblock tests.