FLUSH cmd: convert timeout (double) to cdtime_t
  as the previous call to plugin_flush
Merge pull request #649 from manuelluis/mlsr/flush-fix_time

FLUSH cmd: convert timeout (double) to cdtime_t as the previous call to plugin_flush