BGE: Fix for issue #32606 "Raycasts are locked to the scene of calling object" reported by Josiah Lane (solarlune). The raycasting functions were using the active scene instead of the object's scene.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54472 954f8c5b-7b00-dc11-b283-0030488c597c