Fix possible error choosing default discipline domain.
Fix possible error choosing default discipline domain.

Recent gcc warns about code that turns out to be incorrect.
themperek/iverilog,CastMi/iverilog,CastMi/iverilog,CastMi/iverilog,themperek/iverilog,themperek/iverilog