Fix compilation issue for undeclared function during debug mode

`proc_set_btcoex_dbg` is only defined if CONFIG_BT_COEXIST, so move
accordingly.