gadget-init: fix EEPROM parsing

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>