fastq: fix computation for g
fastq: more panics for invariant violations