[NUI] Add native handle null check in Uint16Pair