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
You modified configure.ac, so you need to execute `autoreconf -fi` here.