net/ice/base: add function for NVM checksum verification