parse_config_line_from_str accepts broken hex values

parse_config_line_from_str happily accepts a broken hex value like "\xg4" and produces a broken value.

Expected behaviour: parse_config_line_from_str returns NULL as it does with broken octal values.

Trac:
Username: emanchado