sourcemerger: check for impossible merges

If neither file has a GENERATED section, there's nothing to merge.