net/ice/base: add NVM helper functions