get rid of as many level-4 warnings as possible (qoi)

Even when compiled at warning level 4 (i.e. all), project policies may require compilations without warnings issued.

Signed-off-by: Daniela Engert <dani@ngrt.de>