Improve frame size calculation in caf muxer to fix adpcm_ms remuxing.

Fixes ticket #3645.
Do not overwrite the sample format with AV_SAMPLE_FMT_NONE in libspeex_decode_init().

Fixes a regression since ef48ac65 when decoding speex in f4v, reported
by irc user massdos.