alsa: avoid uninitialized read

The check if ( subdevice != -1 ) was being done on a potentially
uninitialized variable.
rtaudio: avoid NULL dereference
Merge pull request #29 from tmatth/static_analysis_fixes

Static analysis fixes