ueventd: support to handle block and platform device for ueventd.

N/A

Change-Id: I38a204cf93005bcad8f3122c1be25ea91def6b6b
Signed-off-by: liminghao <liminghao@xiaomi.com>