eco32: handle syscall restart

Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>