Derives a safe resume byte offset from persisted upload progress when a session probe is inconclusive.
Last confirmed byte count from a platform_upload row; missing or invalid values yield 0.
Total object size in bytes; stored offsets at or beyond this reset to 0.
Next byte index to send when resuming the resumable upload.
Derives a safe resume byte offset from persisted upload progress when a session probe is inconclusive.