Better checking for pecl-json-c

Parser should rely on `JSON_PARSER_NOTSTRICT` presence instead of `JSON_C_VERSION`