crt: Implement __mingw_aligned_msize() function

Its API is same as MS CRT _aligned_msize() function.

It can be used only on the memory allocated and returned by the
__mingw_aligned_offset_malloc() and __mingw_aligned_offset_realloc()
functions.

Signed-off-by: Martin Storsjö <martin@martin.st>
2 files changed