get rid of home-grown mutex in cris eeprom.c