lib: Fix some typos

Discovered with the codespell utility.

Signed-off-by: Thomas Huth <thuth@redhat.com>
3 files changed