gpiolib: of: factor out quirk setting polarity via separate property