Fix typo in elf writer.

We were writing the wrong number of characters to the elf file.
Caught by valgrind.

Change-Id: Iaf5a51bc7f6dd23cc5e68992dc033610fd0c5c79
1 file changed