Add Encoder.emit_i32.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>