fourcc: fix fake formats table overflow and repack