Update of Win32 power management functions

@MartijnKaijser as you requested, update to fix [trac 15315](http://trac.xbmc.org/ticket/15315).