GM plans to sell hotel across from Detroit headquarters