Compares v1 and v2 for equality, handling null gracefully.
v1
v2
null
The arguments types are generic for compatibility with ArraySearchFunc.
a null-terminated string array, or null
another null-terminated string array, or null
whether v1 and v2 are identical