refactor: split libomf.c into libomf.c and scanomf.c

This isolates knowledge of the lib file format and the omf file format into separate encapsulations.