Log function definition unconditionally
Log function definition unconditionally

Don't log inside the `.map_err` call, which resulted in only logging
function definitions on codegen errors.

stoklund/cretonne,stoklund/cretonne,stoklund/cretonne