mapicode: Fix MAPI_STATUS_ERR() macro to check for errors

Without this, MAPI_STATUS_ERR() is pretty useless