d3d1x: put proper calling convention in headers, fixes 64-bit builds