glusterd: search through the list of hostnames in the peerinfo

Change-Id: I3b0346c16ba7b02f80392dcad24b1221c68daa67
Signed-off-by: Varun Shastry <vshastry@redhat.com>