translate-c: avoid global state and introduce var decl scopes
translate-c: avoid global state and introduce var decl scopes

in preparation to implement switch and solve variable name collisions

Dimenus/zig,raulgrell/zig,raulgrell/zig,zig-lang/zig,raulgrell/zig,andrewrk/zig,zig-lang/zig,raulgrell/zig,zig-lang/zig,Dimenus/zig,andrewrk/zig,raulgrell/zig,Dimenus/zig