ZwSetValueKey() was being called at DISPATCH_LEVEL from within the
enumeration code.

Change the code structure to only play with the registry from the outer
scan function which runs at PASSIVE_LEVEL.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>