Moved rand from arch/proc to lib.c and changed it to a LCG

UCC git Repository :: git.ucc.asn.au