Make reg initializations account for generated scope.
Make reg initializations account for generated scope.

During parse, reg initialization may be in generated scopes. Handle
that properly.
themperek/iverilog,themperek/iverilog,CastMi/iverilog,CastMi/iverilog,themperek/iverilog,CastMi/iverilog