Revert "Make game use trap_Alloc", QVM trap_Alloc is buggy

This reverts commit f638259d1b1ca00e583de1bdd97adf0a47622cd3.
Revert "Remove g_mem.c from Code::Blocks game project"

This reverts commit 74a6b18638f80aa698fb5d230f72c2b371ee97ab.
Revert "Remove g_debugAlloc"

This reverts commit 529d36a5c6229cdba41b39224b020d5133d4d26a.