linux-user: Support for restarting system calls for SPARC targets