[PATCH 2/2] datatypes: Refactor rest of 'virGet*' helpers