gluster: Proper checking before retriving volume in eventMessageLogger

While retriving volume sometimes it may cause null pointer
exception. So volume is retrived after proper checking.

Change-Id: I78367afc8771b2adb6b653f5d23bdbfe28e126d2
Signed-off-by: ndarshan <dnarayan@redhat.com>