generate_wave_table: Add include for AVSampleFormat