janf-erasurecodes/cpp: small refactor for improved readability