Make sure perl is compiled with threads, or skip threads test
Simplify skip for non-threaded perls
Merge branch 'rafl/skip-threads'

* rafl/skip-threads:
  Simplify skip for non-threaded perls
  Make sure perl is compiled with threads, or skip threads test