src/shared/util.c: remove unneeded error check, following upstream

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