ray.c: Skip normalizing if light has negative contribution

This saves about 3ms/frame on yelena.