Investigation of the formation of the GdSrFeO4 oxide