[CRT] Massively improve performance of rand_s