conf_parser: only accept 0-9a-f as hexadecimal characters

Before, the parser also accepted g-z as hexadecimal characters.