The effect of amorphization on the local structure of arsenic chalcogenides