[libsanitizer] Fix the return type of internal_fork