(SPARC/LEON) fix incorrect array return value printed by "finish"