firmware: enable Wall/Wextra and fix sign comparison warning

Signed-off-by: Jeppe Ledet-Pedersen <jlp@satlab.org>