First attempt to add STHORM MCAPI support to the smecc back-end

Fix some 64 to 32-bit bugs in some printf() like stuff.
It compiles and launches with
make TARGET=STHORM run_smecy_hello_world_host
but there are still some failures on the fabric side to debug.