[PDI-12190][5.2] Add null check to Hive2's HiveDriver.acceptsUrl()

Now that getActiveDriver() returns null instead of throwing an exception, we need to pull null check(s) around the calls that DriverManager makes to a driver whether it will be "selected" as a driver or not. This was done for connect() but not acceptsUrl(), this PR adds the null check to acceptsUrl