MLFT approach with p-d hybridization for ab initio simulations of the pre-edge XANES