Replace malloc.h with stdlib.h

OLD: No need to include malloc.h on OS X.

Replace malloc with stdlib (https://github.com/JACoders/OpenJK/pull/414#commitcomment-4422882)