[sr-dev] git:master:d3b3e87a: core: refactor PKG, SHM, and SYS* memory allocation error logging helper #defines