ray.c: Calculate reflection only once per hit

This saves 10ms on yelena.