CCRANDOM_() uses std::rand() because it can be seeded with std::srand()

plus other minor fixes in perf tests