fdt: Add polarity-aware gpio functions to fdtdec