gpio: Rework of_gpiochip_set_names() to use device property accessors