OpenJDK11: fix SocketOptions test which had args[] left in.

It seems like the test were not being properly run because of this and
were thus not counted for Android API coverage, but this cl should fix
the problem.  The cl also gets rid of a failing test case and an unused helper function.

Test: atest CtsLibcoreOjTestCases:test.java.net.SocketOptions.{TestName}
Bug: 217902661
Change-Id: Id5769497147e9d22000338459fbfc90199846bb6
2 files changed