COMMON: Now using functions for assert/assume

This prevents the side effect of macros being unscoped
(multiple redefinitions).

Signed-off-by: Gama <misept.dieseneuf@gmail.com>