Replace os.system() in gluster plugin with self.check_ext_prog()

Plugins should not open-code calls to external commands. Use the
build-in check_ext_prog() interface instead and test for success
before attempting to collect the statedump files.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>