sparc: Add full proper error handling to strncpy_from_user().