[added to the 4.1 stable tree] cma: fix calculation of aligned offset