daemon: Use UDisks to check whether a block device is in use.

Instead of trying to open it with O_EXCL, which doesn't work as
non-root.

Fixes #1205