common: Move old EEPROM functions into a new header