mfd: Ensure sm501 GPIO pin mode is GPIO when configured