Bobcats land shooting guard Williams from Warriors