[PATCH] ALSA: pcm: Check for null pointer of pointer substream before dereferencing it