devices.c: dont use %as scanf format string, but instead allocate and parse the device name manually for compatibility with non-glibc libcs
Remove noisy 'Unable to opendir /sys/bus/event_source/devices' messages

It's not fatal if the directory doesn't exist.

A patch that removes the message is included below.