Throw NoSuchMethodError if RegisterNatives fails.

Bug: 9963858
Change-Id: I5b3ce3d3dbdc949e69f3389e2df19bcca5648d7e