modules/ims_usrloc_scscf: fixed possible crash if out of pkg_mem