[WIN32][AE] fixed: release audio stream when XBMC is idle. Changed hard coded value to a existing define.
Fix CGUIWindowManager::DispatchThreadMessages() to process messages in order.
it's similar fix with https://github.com/xbmc/xbmc/pull/2167