Use gmk_randf to DRY up some code in particle_system.c.