Fix incorrect null checks in 2 JVMTI functions

The functions GetThreadListStackTraces and GetOwnedMonitorInfo would
incorrectly fail to check all their arguments for null-pointers. This
could cause crashes if called with incorrect arguments.

Bug: 76204023
Test: ./test.py --host -j50
Change-Id: I0be69a63b9bbb0a6aaf1092fde725332ae3296e8
1 file changed