Fix OSLQuery crash reading OSO with local variables and no parameters.

With this test.oso:
```
OpenShadingLanguage 1.00
surface test
local color C
code ___main___
   end
```

This crashes:

    oslinfo test.oso