fix _ensure_events for numpy 1.24 (#10944)
fix _ensure_events for numpy 1.24 (#10944)

* fix _ensure_events for numpy 1.24

* fix foolish omission
kingjr/mne-python,kingjr/mne-python,mne-tools/mne-python,Teekuningas/mne-python,olafhauk/mne-python,drammock/mne-python,Teekuningas/mne-python,larsoner/mne-python,kingjr/mne-python,wmvanvliet/mne-python,wmvanvliet/mne-python,olafhauk/mne-python,wmvanvliet/mne-python,drammock/mne-python,olafhauk/mne-python,larsoner/mne-python,larsoner/mne-python,Teekuningas/mne-python,mne-tools/mne-python,mne-tools/mne-python,drammock/mne-python