intel_reg_read: add support for getopt
intel_reg_read: add support for getopt

This will allow us to pass more options to it in the future.

v2: fix whitespacing issues and improve scary warning text as suggested by
Paul Menzel.

Reviewed-by: Paul Menzel <acd6d3b156327487a919475da61b8867f1e8b249@users.sourceforge.net>
Signed-off-by: Eugeni Dodonov <8cab21ffd2ceb3ee06d75e34eb970dfea6bd7cc6@intel.com>

dlespiau/intel-gpu-tools,yipdw/intel-gpu-tools,dlespiau/checkmate-test-igt,rib/intel-gpu-tools,erikarn/intel-gpu-tools,erikarn/intel-gpu-tools,mv0/intel-gpu-tools,rib/intel-gpu-tools,chenxianqin/intel-gpu-tools,erikarn/intel-gpu-tools,dlespiau/checkmate-test-igt,tiagovignatti/intel-gpu-tools,yipdw/intel-gpu-tools,ChrisCummins/intel-gpu-tools,dlespiau/intel-gpu-tools,rib/intel-gpu-tools,mv0/intel-gpu-tools,dlespiau/checkmate-test-igt,tiagovignatti/intel-gpu-tools,chenxianqin/intel-gpu-tools,chenxianqin/intel-gpu-tools,yipdw/intel-gpu-tools,yipdw/intel-gpu-tools,dlespiau/checkmate-test-igt,ChrisCummins/intel-gpu-tools,rib/intel-gpu-tools,chenxianqin/intel-gpu-tools,tiagovignatti/intel-gpu-tools,ChrisCummins/intel-gpu-tools,mv0/intel-gpu-tools,mv0/intel-gpu-tools,ChrisCummins/intel-gpu-tools,tiagovignatti/intel-gpu-tools,dlespiau/intel-gpu-tools,erikarn/intel-gpu-tools