json-c: Update to 0.12

Please take a look at src/json-c-3-remove-w32-crypt-function.patch
before accepting the pull request, this may have security implications
done.