[DDMD] Mangle long and ulong correctly on 64-bit linux/osx

On 32-bit linux/OSX `long`/`int64_t` map to `long long` types, but they map to `long` on 64-bit.