Closed requested to merge kraj/glib:alignof into main
WG14 N2350 made very clear that it is an UB having type definitions within "offsetof" . This patch changes the implementation of macro check_alignof to builtin "_Alignof" to avoid undefined behavior.
clang 16+ has started to diagnose this 
Fixes build when using -std >= gnu11 and using clang16+
 https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2350.htm  https://reviews.llvm.org/D133574
Signed-off-by: Khem Raj firstname.lastname@example.org