udev: make sure we always return a valid error code in trie_store()

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>