Add check for mysqli_get_client_version

Fixes issue #2369