PROTON-623: Add missing error check to pn_string_inspect
PROTON-622: Add missing error check to pn_event_inspect