openwsn: prepare ow scheduler to be used within RIOT
openwsn: fixing some warnings