gpio: Convert to use match_string() helper