Fix deprecated CRM_Core_Form_Date::addDateRangeToForm
code says they will be removed around CiviCRM 5.80
issue