fix liger contbuild: cast offset_bytes to unsigned