adb: fdevent: move CheckMainThread logic to fdevent_context. am: 2c95bf73a5
am: 57c060a4b8

Change-Id: I55c5d414b1fc6f23142747458f2e5b41e5a4a8cc