Fix ThreadQueue for Ruby 1.8

Implicit argument passing by `super` inside a `proc` doesn't work in Ruby 1.8.

Test case: https://gist.github.com/korny/4f6ea67986d3d5efa462