sys/transceiver: use size_t instead of u8 in loops