Auxiliary supergravity fields, Chern-Simons terms and the heterotic string