altos/stm: Make flash loader work with either 8MHz or 16MHz xtal