d3d1x: fix build with compilers other than GCC 4.5