cpu/nrf51822: adjusted to RTT interface changes
cpu/stm32f1: adjusted to RTT interface changes