[math] pprz_algebra_int: convert more macros to functions