[ruby20] switch from rb_thread_select() to select() to avoid breakage in the future.

Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>