Internal and cross-platform aligned malloc/free