Improved error checking for defparam values supplied on the command line.
Improved error checking for defparam values supplied on the command line.

Fixes GitHub issue #139 plus various assertion failures when invalid
values are specified.

themperek/iverilog,themperek/iverilog,themperek/iverilog