One liners for minor cleanup

I am using linenoise in a project of mine, so this set of commits fixes the following:

1. Compile warnings with gcc -Wall -Wextra -pedantic -std=c11
2. CPPCheck warnings. There are a couple of those I didn't fix in this set of commits that have to do with memset and memcpy.
3. Whitespace cleanup :)