Fix for pr2271367.
Fix for pr2271367.

This patch fixes a bug introduced by one of the checks for illegal
use of automatically allocated variables.

themperek/iverilog,themperek/iverilog,CastMi/iverilog,CastMi/iverilog,themperek/iverilog,CastMi/iverilog