Fix slow openssl_random_pseudo_bytes() in Windows with PHP < 5.4