[PATCH v2 2/3] conhost: Merge validate_font and validate_font_metric helpers.