[support] Add a macro wrapper for alignas and simplify some code.