demosaic: fix Markesteijn buffer size & offsets