Prevent warnings from open_basedir

If `open_basedir` is turned on, the call `is_readable('/dev/urandom')` will always generate a warning. This may flood the error log and is also completely nonsensical on systems which do not even have `/dev/urandom`.