Allow global variable declarations to default to int.

The function name looks a bit too long to me. Let's name read_decl_opt.