Small OSL fixes.

Added missing texturesys method to RendererSevices.
Precompute some OSL attribute values before rendering starts.