Couple of trivial fixes

Fixes valgrind errors when using umockdev_testbed_uevent