fix(encoding): validate variable-width Arrow offsets (#8382)