Small BVH2 optimizations: moved some things out of the inner ray test loop.