misc: keep covscan happy
covscan complains about is ignoring returns from pthread_mutex_lock()
but in those 2 circumstances we don't have much choice.
This patch just keeps coverity quiet so we don't miss any real bugs it
might find.
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>