perf_event_open: vary pid and cpu values more

While digging through long execution traces working on the ftrace
bug I noticed we weren't really varying the "cpu" or "pid" values
very much.  This attempts to add a bit more variety.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>