std: Make C allocator respect the required alignment

Use posix_memalign where available and the _aligned_{malloc,free} API on
Windows.

Closes #3783
806097c165LemonBoy committed on 11/5/2020, 3:10:15 PMparent17837af
3 files changedLine totals unavailable