Set the audio output format even if it isn't planar

Interleaved audio doesn't need the resampling context set up, but it
still does need to set things like the bytes per sample. Fixes issues
when opening natively interleaved formats.

Closes #114.
Fix compilation with msvc
Silence some signed/unsigned comparison warnings