Fix allocation when copying NSInvocation C strings

- strlen() didn't account for the NULL terminator