Compiler: Minor code cleanup.

Store Pike_compiler->new_program in a local variable in
define_function().