[PATCH 12/19] virHashAddOrUpdateEntry: Simplify allocation of new entry