tests/intel_reg_dumper: Replace asprintf with snprintf
tests/intel_reg_dumper: Replace asprintf with snprintf

Stops the compiler warning about not checking the potential error return
from asprintf, which was a false positive anyway.

Signed-off-by: Chris Wilson <711c73f64afdce07b7e38039a96d2224209e9a6c@chris-wilson.co.uk>

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