Ryan Jones has withdrawn from the Wales squad ahead of the Six Nations because of a hamstring injury.