msgmerge: fix GNU gettext's msgmerge incompatible --sort-output behavior

It is a option for GNU gettext's msgmerge compatibility. GNU gettext's
msgmerge uses msgid for sorting but rmsgmerge used file location.

With this change, rmsgmerge uses msgid same as GNU gettext's msgmerge.