Add support for posix_memalign

This adds a new hook for the POSIX variant of memalign.