component/bt: fix the bug when close the SMP module in the menuconfig will lead to compile error. See merge request !1265