Add destination buffer overhang emulation.

This allows supporting blocksizes larger than the stride of the image,
which in practice fixes some fate failures with -flags +emu_edge. -flags
+emu_edge is still broken (seems related to loopfilter) but looks mostly
OK now.