sync with xbmc. bump pvr api to 1.9.0

not sure about __MINGW32__ (can not test on windows). let me know if I should re-add it.