Update TemplightExtraWriters.cpp

constexpr is not supported in MSVC