Merge branch 'bugfix/fix_gatt_cache_server_compile' into 'master'

fix(nimble): Fix compilation issues when gatt caching is enabled in peripheral only mode

See merge request espressif/esp-idf!40343
This commit is contained in:
Rahul Tank
2025-07-08 16:04:25 +05:30