Add MPASSERT() and MPPASS() macros
(cherry picked from commit 61ae7a355ce787aecd84dc35a047f458a5b5b1fb)