Fix invalid search option

MSP-8986

Rescue OptionParser::ParseError and turn it into a validation error so
that stack trace is not printed when invalid option is passed to search
in msfconsole.