fix invalid read in aligned_alloc
fix invalid read in aligned_alloc

in case of mmap-obtained chunks, end points past the end of the
mapping and reading it may fault. since the value is not needed until
after the conditional, move the access to prevent invalid reads.

chardi/musl,chardi/musl,chardi/musl