[network-diagnostic] fix Connectivity and Route TLV type issue when get (#2769)
[network-diagnostic] fix Connectivity and Route TLV type issue when get (#2769)

Type value of Connectivity and Route TLV are different under different namespaces.
gandreello/openthread,bukepo/openthread,bukepo/openthread,LeZhang2016/openthread,turon/openthread,turon/openthread,chshu/openthread,chshu/openthread,jwhui/openthread,gandreello/openthread,jwhui/openthread,chshu/openthread,srickardti/openthread,gandreello/openthread,librasungirl/openthread,chshu/openthread,lanyuwen/openthread,erja-gp/openthread,erja-gp/openthread,srickardti/openthread,chshu/openthread,openthread/openthread,librasungirl/openthread,lanyuwen/openthread,gandreello/openthread,LeZhang2016/openthread,gandreello/openthread,openthread/openthread,erja-gp/openthread,librasungirl/openthread,bukepo/openthread,LeZhang2016/openthread,abtink/openthread,lanyuwen/openthread,lanyuwen/openthread,srickardti/openthread,lanyuwen/openthread,jwhui/openthread,chshu/openthread,openthread/openthread,erja-gp/openthread,LeZhang2016/openthread,LeZhang2016/openthread,gandreello/openthread,bukepo/openthread,librasungirl/openthread,erja-gp/openthread,openthread/openthread,abtink/openthread,LeZhang2016/openthread,turon/openthread,lanyuwen/openthread,erja-gp/openthread,jwhui/openthread,srickardti/openthread,abtink/openthread,turon/openthread,abtink/openthread