demmt: implement various TODOs which are hit by vdpau traces
demmt: handle the case where IB is on the same buffer as PB