SQL: only update downtime entries upon downtime termination.
SQL: only update downtime entries upon downtime termination.

This effectively prevent insertion of already deleted downtimes.
This fixes #4563.

centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker