Fix build with -Werror=format-security
Rename aligned_alloc to avoid conflicting types error