Measurement of the average shower maximum of ultra high energy cosmic ray showers with the Pierre Auger Observatory