Disable the old QCDOC qalloc by default and copy utility functions from memory.c
Disable the old QCDOC qalloc by default and copy utility functions from memory.c

1. qalloc() appears to have been a special routine written for the PPC440-based QCDOC supercomputer(s) from around 2005, its source does not seem to be readily available. So switch the #if 1 in the code to rely on standard malloc() by default.
2. Utility functions like get_num_procs, get_num_threads that were added to the "normally" used memory.c in the meantime were still missing here.
xianyi/OpenBLAS,xianyi/OpenBLAS,xianyi/OpenBLAS,xianyi/OpenBLAS,xianyi/OpenBLAS,xianyi/OpenBLAS,xianyi/OpenBLAS,xianyi/OpenBLAS