scripts: kernel-doc: fix macro handling in enums