devel/kdevelop: Import upstream fix for C++17-related build issue
Replace the current -Wno-error=enum-constexpr-conversion workaround by a
proper fix that was implemented upstream.
Approved by: kde (arrowd)
Differential Revision: https://reviews.freebsd.org/D40957