altos/stm: Make beeper driver support all possible tim234 configs