tools/intel_reg: Use pci device from config on write
tools/intel_reg: Use pci device from config on write

Use the pre configured pci device from config also
in write path.

Cc: Jani Nikula <ba783f3beccaedfda693f41a15407d612a629408@intel.com>
Signed-off-by: Mika Kuoppala <cd221c71e765d1ce593d15b204fee351fb09fd98@intel.com>
Reviewed-by: Jani Nikula <ba783f3beccaedfda693f41a15407d612a629408@intel.com>
Signed-off-by: Thomas Wood <b9025d6a953b68f894a0f6a80fd2af6d55b0badd@intel.com>

tiagovignatti/intel-gpu-tools,tiagovignatti/intel-gpu-tools,mv0/intel-gpu-tools,tiagovignatti/intel-gpu-tools,tiagovignatti/intel-gpu-tools,chenxianqin/intel-gpu-tools,mv0/intel-gpu-tools,mv0/intel-gpu-tools,mv0/intel-gpu-tools,chenxianqin/intel-gpu-tools,chenxianqin/intel-gpu-tools,chenxianqin/intel-gpu-tools