avcodec/cfhd: Use the actual count instead of the expected in peak_table()