Add utility function to add a change output to a transaction