raptor: fix the duration of thz section after a stayin

If the arrival and the departure was not the same the duration was
negative
convertion do uint32_t -> pt::duration -> uint32_t???