Attach job ID when unpickling fails in .dequeue().

This makes the behaviour consistent with .dequeue_any().