virttest: Make the info register warning shorter in log files

Only record the fist and last message for the failed of getting
register info from guest.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Merge pull request #1590 from ypu/info_regitser

virttest: Make the info register warning shorter in log files