Simplify aligned_alloc implementations