[PATCH v7 1/6] server: Fix shared object offset when additional blocks are allocated.