sys/transceiver: add transceiver_unregister and refactor transceiver_register

To tell it again: do not use a type <= int for iterations. It is actually slower than using int, use at least the same amount of RAM, generate more code, and will be a for-ever loop if the target is >= MAX(type).