Fixed bug in x86-atom fast interpreter. Adds guard for potential null pointer.
Adds guard for potential null pointer when checking for debugger active on return from method.

Change-Id: Iaef2b6815fe6c64450cc0cc36f8920e4c38f40e6
Fix native methods that weren't registered via RegisterNatives.

Cherry pick of a64af4aabf261d34eac8b5a9d92992ee70051829.

Change-Id: I43df4e33e39ccaf9e26c842f22da3391cfa17e2b
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master