[PATCH 5.6 074/254] ALSA: hda: Fix potential access overflow in beep helper