BUILD: debug: Avoid warnings in dev mode with -02 because of some BUG_ON tests

Some BUG_ON() tests emit a warning because of a potential null pointer
dereference on an HTX block. In fact, it should never happen, but now, GCC is
happy.

This patch must be backported to 2.0.

(cherry picked from commit ea009736d8f25be6c79aff0bed3a994eef87f3fd)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
3 files changed