uevent.c: avoid POLLERR infinite loop

I have not reproduced this infinite loop.
An infinite loop may be more useful to debug.

Note, libhardware_legacy AIDL interface dependency
already includes liblog, so this won't change
which libraries are loaded.

Bug: 300009377
Test: N/A
Change-Id: I1f5545456e7074823f0f9df35496cbf5a2a012a4
2 files changed