Implemented rand48 driver in perl.

This is used to generate pseudo random numbers using drand48 (assuming
that is what perl is configured to use in randfunc) given a seed and a
number of random numbers to generate.