cmake HAS_MALLOC examples

KeystoneHQ/keystone3-firmware external/cryptoauthlib/lib/CMakeLists.txt :69

check_symbol_exists(malloc "stdlib.h" HAS_MALLOC)

KeystoneHQ/keystone3-firmware external/cryptoauthlib/lib/CMakeLists.txt :353

endif(HAS_MALLOC)