rocrail: fixes for compiler warnings