lavfi/formats: avoid using AV_{PIX,SAMPLE}_FMT_NB