The tests custom_state_machines_remarks.ll and spmdization_remarks.ll fail with
reverse iterator builds due to non-determinism in the iteration order. This patch tries to fix it.
Change KernelSet from SmallPtrSet to SmallSetVector so that the order of
iteration of kernels in OpenMPOpt::registerAAs() is the same as the order of insertion.