Fixed incorrect pointer check in njs_json_parse_string().
Fixed incorrect pointer check in njs_json_parse_string().

Found by Coverity (CID 1435161, 1435162).
The bug appeared in 29eee021e03e.

nginx/njs,nginx/njs,nginx/njs,nginx/njs,nginx/njs,nginx/njs