Fix C++ type in generated code for signed ints

Change-Id: I13f8ef76fdb920186354c46fb81dfb50d89de2d0
Signed-off-by: Tom Flynn <tom.flynn@gmail.com>