Revert "cpp: Use portable off_t size_t"
This reverts commit adb872f2084a7940391a0de03ac73799db5f5808.
This commit was too early and i needed to test more
this is breaking more then it helps so for now
revert it before we can do a proper solution.