[Libguestfs] [PATCH nbdkit] pattern: Accurately update b & offset in loop