[PATCH AUTOSEL 6.17] erofs: consolidate z_erofs_extent_lookback()