lima: fix buffer import with offset