vdpau: wrap codec specific functions in appropiate #ifs