FSFHap stage 3: forward-fill gaps (fillGapsInAlignment)
Source:R/RcppExports.R
fsfhap_fill_gaps_cpp.RdPer taxon (row), across sites in order: when two non-missing calls flanking a
run of missing (3) are EQUAL, fill the run with that value; a differing
non-missing call resets the anchor (no fill). Faithful to fillGapsInAlignment.