[BUG] 8372325: Refactor tests in jdk/java/net/httpclient to use ${test.main.class}

I replaced the @run tag in the tests under HttpClient with ${test.main.class}.