Pre-edge features in X-ray absorption structure of Mn in GaMnN, GaMnAs and GeMn