qsvdec: properly handle asynchronous decoding