[PATCH 3/6] util: eliminate duplicate code in virLogVMessage