Move intfuncs up higher so we can get proper errors

Ever since the IO rework, I've been seeing `error: dec not defined` when running the build process on a machine without a proper TTY (e.g. output redirected to a file, run inside of Ubuntu's buildd servers, etc....)

This moves `intfuncs` higher up in the system image so we can get the definition of `dec` before the error occurs so we can see the error trying to be printed.