firmware: fix compilation with sdcc-3

We have this in Fedora for more than 3 years and nobody have complained so far :) But I haven't thoroughly checked it. There are some warnings about white spaces, but I havent' fixed them, I tried to follow formating of the original sources as close as possible.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>