Update RegCloseKey() / RegOpenKeyEx() error codes.

Update RegCloseKey() error code 6 to appear as PLUGIN_WARNING
Update RegOpenKeyEx() error code 2 to appear as PLUGIN_WARNING