Fix up profiling runtime code for MinGW64.

runtime/mercury_prof.c:
    Do not assume that an address will fit inside a long.
    That is not the case for 64-bit Windows.