USA's Ted Ligety wins gold in giant slalom