createrepo_c, mergerepo_c: Code cleanup