get_maintainers.pl: improve .mailmap parsing