move unlock_jobs_of_dead_workers

Reasons for this are:
* it has nothing to do with the QC::Worker class
* we want to be able to call that in other circumstances than from the Worker class

/cc @ukd1 @smathieu @ryandotsmith 
Good point, @jipiboily can you make this non-breaking?