m37710: make memory helpers inline; remove more obsolete cruft (nw)