cmake HAS_GPROF examples

MegEngine/InferLLM CMakeLists.txt :97

CHECK_CXX_COMPILER_FLAG("-pg" HAS_GPROF)

MegEngine/InferLLM CMakeLists.txt :98

message(WARNING "Build with gprof: ${HAS_GPROF}. Gprof may not work on darwin.")