eal: add macro to align value to the nearest multiple