[libvirt] [PATCHv5] python: refactoring virTypedParameter conversion for NUMA tuning APIs