move MAGICKCORE preprocessor declarations to get rid of warnings on some systems
add additional error checks in kuhl_print_program_info()
merge