[IE8] Null checking in destroy method

IE8 is still broken since self._sync is undefined. We need to check that it exists first before running detachEvent.

https://github.com/ivaynberg/select2/issues/2467
https://github.com/ivaynberg/select2/issues/2498