mkpasswd: fix an underflow in the parser for -R

Reported by mahkoh on github:
https://github.com/rfc1036/whois/issues/12