rename "errno_t" to "cbm_errno_t" in order to avoid name conflicts

rename "errno_t" to "cbm_errno_t" in order to avoid name conflicts while compiling on Apple OSX 10.9
also insert missing parameter into a call to tiparm.