Bug 832364 - Generate optimized paths for element accesses on native objects, r=jandem.