Effect of vacancy sinks and sources on serrated yielding due to solute locking