Fix aligned_alloc on MinGW