Avoid potential divide by zero in LightSource.hillshade