Use file locking, where available, to detect shared seed files.

Seed files must not be shared between concurrently running instances
of the Fortuna RNG.  On operating systems where the 'flock' system
call is available, this commit uses advisory file locking to prevent
concurrent use of the same seed file.  On systems where 'flock' is not
available (i.e. Windows), no checking is performed.