[pk-backend-job] Fix memory leak when creating threads

Upstream patch and bug:
https://bugs.freedesktop.org/show_bug.cgi?id=71498