Fix FindFieldID to use class's classloader to find field type.

Also includes a test case, though the test case does not recreate
this exact issue because the attached native thread would need to
have a null context classloader.

Bug: 11737351
Change-Id: Ieb7536702a556485d667361124cd7985b712b093
3 files changed