Dallas Mavericks' Spencer Dinwiddie scored his second-straight walk-off winner to defeat the Brooklyn Nets