[openadk] [Patch 6/5] package: json-c: Fix for compiling with gcc-14