Introduce RAKUDO_MAX_THREADS environment variable

To make it easier to debug problems involving threads.