
_align_XXX functions aren't widely available depending on the C runtime. That causes problems with mingw where we can easily have some runtime mixes (which lead to mysterious segfaults most of the time). This patch introduce winpr_aligned_XXX functions that will either use the function available, or use an emulation layer.