Coupling of the A1g As-phonon to magnetism in iron pnictides