altos/stm: Add per-LED port/pin mode in LED code