Effect of local atomic phase separation in the x-ray absorption near edge structure spectroscopy of FeSexTe1-x