Continue consolidation of process functions by moving some helpers out of command.{c,h} into virprocess.{c,h} Signed-off-by: Daniel P. Berrange <berrange@redhat.com> (cherry picked from commit 9467ab6074d02bd90248b5710b1c83856fefe9b4)