json: use json_tokener_error_desc() instead of the json_tokener_errors array

As the latter has been deprecated and removed in recent versions of json-c.

Signed-off-by: Balazs Scheidler <bazsi@balabit.hu>