Input: max8997-haptic - fix NULL pointer dereference