of/gpio: add default of_xlate function if device has a node pointer