Fix get_haldispatchtable for 64-bit Windows