cmake: use pkg-config to find json-c