core: [Fix] NPE in GlusterSyncJob

Add validation for corrupt brick(s).

Change-Id: I0c0209683ab1fc4c837c23d4223278582fc0f920
Signed-off-by: Gustavo Pedrosa <gustavo.pedrosa@eldorado.org.br>