Add generic support for parsing of ihex sections

Signed-off-by: Michael Buesch <m@bues.ch>