Thunder take advantage of Rudy Gobert's foul trouble in comeback win