fix(executorch): drain the stream when a device-to-host copy fails (#4471)