cmake HAS_CONST_SUPPORT examples

RIKEN-SysSoft/mckernel cmake/modules/AutoconfHelper.cmake :200

CHECK_C_SOURCE_COMPILES(
    "int main(int argc, char **argv){const int r = 0;return r;}"
    HAS_CONST_SUPPORT)