GCC static analyzer misc fixes
I ran the GCC static analyzer 1 on wlroots and caught a few things.
So far it's mostly unchecked calloc
calls in our examples/tinywl, that are fixed by asserting the value. But there is also real issues that are fixed in their own commits.