In situ XAFS and XRD studies of pressure-induced local structural change in liquid AgI