samplefmt: Fix warning about discarded qualifier