wined3d: Try harder to print something reasonable in wined3d_debug_location().