gluster: fix findBug warning in GlusterAsyncTaskStatusQueryBase

   filling the task parameter after the null check for task and
task ID.

Change-Id: Ibeca077dc4fbc1f8d546f8aea0482c41300cb115
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>