Text this: Six-derivative Yang-Mills couplings in heterotic string theory