[PATCH openEuler-5.10 154/427] ALSA: pcm: Check for null pointer of pointer substream before dereferencing it