Structure of undercooled liquid Pd probed by x-ray absorption spectroscopy