refactor libomf
refactor libomf
Merge pull request #1767 from WalterBright/scanomf

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