prog: fix determinism in resource creation
prog: fix determinism in resource creation

We chosen a non-deterministic resource in createResource
due to map iteration order.
This is caught by existing TestDeterminism,
but just very infrequently.

xairy/syzkaller,xairy/syzkaller,google/syzkaller,google/syzkaller,google/syzkaller,xairy/syzkaller,google/syzkaller,google/syzkaller,xairy/syzkaller,xairy/syzkaller,google/syzkaller,google/syzkaller,xairy/syzkaller,xairy/syzkaller