max77759_charger: fix dock charging not working

OVP switch in EVT2+ is changed to active low, support both of the
settings by getting gpio flags.

Bug: 232723240
Signed-off-by: Jack Wu <[email protected]>
Change-Id: I3781116878b8f61291ea30255c057c5693c05524
3 files changed