Dallas and Golden State have agreed to an Andrew Bogut trade, sources say