fix usage of posix_memalign

9 jobs for cxx17 in 28 minutes and 50 seconds (queued for 3 seconds)