sysctl: try to avoid malloc in name2oid
name2oid is called all the time and passed names are almost always very short (< 16 characters).