Corrected eeprom_hal function prototypes and updated spark_wiring_eeprom