WIN32Util::PowerManagement: real checks for privileges adjustment, do not adjust more then once
WIN32Util::PowerManagement: update to use Vista+ functions, fixes #15315
Merge pull request #5466 from Karlson2k/win32_shutdwn_upd_01

Update of Win32 power management functions