Fix errors when enabling the AF_MEM_DEBUG env variable
Fix errors when enabling the AF_MEM_DEBUG env variable

9prady9/arrayfire,9prady9/arrayfire,munnybearz/arrayfire,munnybearz/arrayfire,arrayfire/arrayfire,arrayfire/arrayfire,umar456/arrayfire,umar456/arrayfire,arrayfire/arrayfire,umar456/arrayfire,arrayfire/arrayfire,munnybearz/arrayfire,9prady9/arrayfire,umar456/arrayfire,9prady9/arrayfire