[][openwrt][common][sdk][Refactor support for clangd]

[Description]
Refactor support for clangd
1. Patch codechecker to build only native ldlogger.so
2. Write .clangd for packages for accurate indexing

[Release-log]
N/A

Change-Id: I996933098dd42f15142edbf4002fde75f9e6d196
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8215260
3 files changed