assembly: fix memory leak in arc kernel

Link: https://github.com/GeneAssembly/biosal/issues/697
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>