Added dump_irep in header.

Hello,
Added dump_irep on header so We're able to get compiled bytecode in a buffer.
I couldn't understand how do that without STDIO(returning a buffer).

Sorry if I missed something.