Fix JVMTI GetStackTrace bug

GetStackTrace would incorrectly return ERR(ILLEGAL_ARGUMENT) if the
number frames returned was less then the start depth and start depth
was >= 0. This made some legal stack trace calls impossible.

Instead it should have been checking that at least one frame was
retrieved (since otherwise the start-depth was off the stack).

Test: ./test.py --host
Bug: 132196976
Change-Id: I9f959569f90dbb75de0010173b119472a4b5864e
4 files changed