Nottingham Forest have re-signed Sunderland midfielder David Vaughan on loan until the end of the season.