json-c: drop compatibility libraries