component/bt and esp32: fix two bluetooth bugs that caused by coexist module See merge request idf/esp-idf!3860