The FINALIZER macro was previously defined for use in the module registry
but lacked a corresponding #undef, potentially causing macro leakage into
subsequent code. This commit adds the cleanup directive to maintain macro
hygiene consistent with other macros in the same block.