Observational constraints on cosmic string production during brane inflation