lib: Fix some typos Discovered with the codespell utility. Signed-off-by: Thomas Huth <thuth@redhat.com>