Added implementations of SDL malloc function that are linked before SDL in order to replace them.