janf-erasurecodes/cpp: fix object number of last parity object (incomplete object case)