d3d9: fix build when d3dadapter9 is unavailable