[PATCH 049/144] ALSA: hda: Fix potential access overflow in beep helper