Added support for random crashes (*.random*.swift) when compiling with -O.
Added test cases found by fuzzing.