Revert "Revert "module.h: split out the EXPORT_SYMBOL into export.h""

This reverts commit 3b4d87239f1d2ff7ec0582f07d82e3459e3c13f0.