External allocation hook for the Memory Manager. Called by the Audiokinetic implementation of the Memory Manager when creating a pool of type AkMalloc.
Note: This needs to be defined by the client.
Returns:
A pointer to the start of the allocated memory (NULL if the system is out of memory)