Update image C module to use Guile macros and proper namespacing.