[PATCH 5.1 37/54] pinctrl: mediatek: Update cur_mask in mask/mask ops