James Harden's game-winning shot for the Rockets near the end of Thursday night's Game 3 win over the Warriors should not have counted, the NBA says.