Don't report an error if no event registered
OpenSIPS version: detect and show the HP_MALLOC flag in the output
(cherry picked from commit 4461bea6543f885b4a719e767f4a5524fa56803a)