[PATCH v4 1/8] tool: Move ALIGN_MASK to header as common MACRO