Fix OSLQuery crash reading OSO with local variables and no parameters.
Fix warning about unused system() return value.
Fix logb incorrectly declaring derivative functions, it has no derivatives.