Fix compilation warning.

Use ssize_t for comparing with off_t as they both do have a sign.