Fix offset handling in find/rfind implementation.
Fix offset handling in find/rfind implementation.

doerwalter/LivingLogic.Javascript.ul4,LivingLogic/LivingLogic.Javascript.ul4,doerwalter/LivingLogic.Javascript.ul4,LivingLogic/LivingLogic.Javascript.ul4