Replace JSValue #defines with static constexpr values.