The recent fix for CVE-2021-33574 released in MGASA-2021-0308 introduced
a NULL pointer dereference because mq_notify.c mishandles certain
NOTIFY_REMOVED data, that will result in segmentation fault.
This update adds the missing NULL pointer check to resolve this issue
(CVE-2021-38604).