eventdev: add device stop flush callback