Fix bugs in the implementation of llCastRay.
Fix bugs in the implementation of llCastRay.

TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim