Change memory types from DWORD to QWORD

This was causing memory allocations to fail on x64 in cases where
the higher bits were set in addresses.
Updated more UINT TLVs to QWORDS

All with the goal of removing more pointer truncation issues.
Land #3416, fix DWORD/QWORD bug