Fatal: Don't generate code if we got the compiled copy

Skip the code generation for lexical subs that just need a new leak
guard.

Signed-off-by: Niels Thykier <niels@thykier.net>
Merge branch 'cache_improvements' into tmp