Core/DBLayer: Avoid a crash when calling mysql_get_server_version if connection was not open