avcodec: vaapi: get output pictures from the pool