BUG/MINOR: mux-h2: Be sure to have a connection to unsubcribe

When the mux is released, It must own the connection to unsubcribe.
This patch must be backported to 2.0.

(cherry picked from commit 21d849f52fc64c51e5abf5a8bd69f2aeff8b3125)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
diff --git a/src/mux_h2.c b/src/mux_h2.c
index 984a81b..e6bfd03 100644
--- a/src/mux_h2.c
+++ b/src/mux_h2.c
@@ -677,9 +677,9 @@
 		}
 		if (h2c->wait_event.tasklet)
 			tasklet_free(h2c->wait_event.tasklet);
-		if (h2c->wait_event.events != 0)
+		if (conn && h2c->wait_event.events != 0)
 			conn->xprt->unsubscribe(conn, conn->xprt_ctx, h2c->wait_event.events,
-			    &h2c->wait_event);
+						&h2c->wait_event);
 
 		pool_free(pool_head_h2c, h2c);
 	}