Bug 1080542 - Follow base pointers properly for dependent strings in RegExp.exec stubs, r=jandem.