Add zeroed env pointer when a const fn is passed as an argument.
Add zeroed env pointer when a const fn is passed as an argument.

This makes it safe to fndup a global function which makes it safe to spawn a global function.

oridb/mc,oridb/mc,oridb/mc,oridb/mc