do-release-commit-and-tag: fix version order check.

* build-aux/do-release-commit-and-tag (func_lt_ver): Check the
first version given is older than the second.
Use it instead of a case and tr combo.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>