monkey=patch Array#sample and Array#shuffle to use TL rand generator:

* If no thread-local rand generator exists, just fall back to original
  implementation.