Tor 0.2.8.10 breaks compilation on macOS Sierra

We forgot to backport the sys/random.h header include and its check. This means that tor 0.2.8.10 compiles on pre-sierra systems, but not on sierra itself.