Fix out of bounds read in dumpsys

ResolverController::dump() could read past the end of the
ExternalPrivateDnsStatus.serverStatus if there were more than MAXNS
servers configured.

Test: atest
Change-Id: I9c20b7bfe078c9181ee008f17c411d007926df7a
1 file changed