Use standard integer types instead of shortened int types

Although standard integer types are an execrable idea, QiProg uses them.
Newer versions of libopencm3 have also switched to exclusively using
standard ints. Using short types when all other dependencies use the long
versions creates an inconsistent mixture which is worse than the standard
int types.

Choose the lesser of the two evils.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>