cmcurl: avoid usage of CMAKE_DL_LIBS on MinGW

On MinGW, `dlopen` is not used, so it is unnecessary.