More ImageBuf refactor: remove virtual dtr, un-inline some funcs.