graphics/darktable: prepare for cmake-3.21 update
Fix build against cmake-3.21: the ninja generator in 3.21 suffers a regression
(see https://gitlab.kitware.com/cmake/cmake/-/issues/22487) appending an invalid
"-Wl,--no-as-needed" to the linker arguments for static libraries.
Once this regression has been fixed upstream, this can be switch back to USES=cmake
PR: 257191