Knicks overcame a 19-point deficit to beat the Heat 116-112 in overtime