Fixes weird looping in child_random_syscalls function.

This patch removes makes the loop in child_random_syscalls aware of which
system calls are enabled, thus, avoiding unnecessary looping.

Signed-off-by: Ildar Muslukhov <ildarm@google.com>