Allow global variable declarations to default to int.

Remove basetype and just return type_int.