[PATCH openEuler-1.0-LTS] perf: hisi: Fix compile error if defined MODULE