[PATCH 5.15 240/667] ALSA: pcm: Check for null pointer of pointer substream before dereferencing it