Revert "Remove code related to extended-opcode."

This reverts commit 6527b83f7327af4a3919f07054129130e44fdef3.

Change-Id: I782de6800999ce57af8caa50c9900a225ed1fe35
Merge "Revert "Remove code related to extended-opcode."" into kitkat