[PATCH 1/2] dinput: Split dinput_unacquire_window_devices helper.