Update codegen to make `bytes` imports conditional on the `alloc` feature and add a test example for the `thumbv7em-none-eabihf` target.