editors/vscode: Add patches to fix build error of keytar node module with clang 21
The error in question was:
CXX(target) Release/obj.target/keytar/src/async.o
In file included from ../src/async.cc:4:
../node_modules/node-addon-api/napi.h:1147:39: error: in-class initializer for static data member is not a constant expression
1147 | static const napi_typedarray_type unknown_array_type = static_cast<napi_typedarray_type>(-1);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/node-addon-api/napi.h:1147:60: note: integer value -1 is outside the valid range of values [0, 15] for the enumeration type 'napi_typedarray_type'
1147 | static const napi_typedarray_type unknown_array_type = static_cast<napi_typedarray_type>(-1);
| ^
1 error generated.
PR: 295862
Reported by: Alexey Shuvaev <bugsbeastie@gmail.com>