component/bt: Fix the bug cann't use esp_ble_gatts_get_attr_value to get the att… See merge request !1381