mem: Print an MSHR without triggering any assertions
mem: Print an MSHR without triggering any assertions

Previously printing an mshr would trigger an assertion if the MSHR was
not in service or if the targets list was empty. This patch changes
the print function to bypasses the accessor functions for
postInvalidate and postDowngrade and avoid the relevant assertions. It
also checks if the targets list is empty before calling print on it.

Change-Id: Ic18bee6cb088f63976112eba40e89501237cfe62
Reviewed-by: Andreas Sandberg <c9f5686ee5bd561c93f9de79681eee75bfa7f36e@arm.com>

rjschof/gem5,SanchayanMaity/gem5,Weil0ng/gem5,Weil0ng/gem5,HwisooSo/gemV-update,KuroeKurose/gem5,cancro7/gem5,rallylee/gem5,gedare/gem5,powerjg/gem5-ci-test,rjschof/gem5,aclifton/cpeg853-gem5,cancro7/gem5,sobercoder/gem5,TUD-OS/gem5-dtu,HwisooSo/gemV-update,gem5/gem5,sobercoder/gem5,KuroeKurose/gem5,rjschof/gem5,aclifton/cpeg853-gem5,powerjg/gem5-ci-test,Weil0ng/gem5,KuroeKurose/gem5,sobercoder/gem5,HwisooSo/gemV-update,SanchayanMaity/gem5,sobercoder/gem5,TUD-OS/gem5-dtu,rjschof/gem5,rallylee/gem5,gedare/gem5,gem5/gem5,KuroeKurose/gem5,rallylee/gem5,SanchayanMaity/gem5,powerjg/gem5-ci-test,gedare/gem5,SanchayanMaity/gem5,HwisooSo/gemV-update,powerjg/gem5-ci-test,rjschof/gem5,powerjg/gem5-ci-test,HwisooSo/gemV-update,cancro7/gem5,aclifton/cpeg853-gem5,gem5/gem5,gedare/gem5,sobercoder/gem5,Weil0ng/gem5,TUD-OS/gem5-dtu,SanchayanMaity/gem5,cancro7/gem5,KuroeKurose/gem5,HwisooSo/gemV-update,Weil0ng/gem5,gedare/gem5,gedare/gem5,rallylee/gem5,rjschof/gem5,gem5/gem5,TUD-OS/gem5-dtu,HwisooSo/gemV-update,gedare/gem5,aclifton/cpeg853-gem5,KuroeKurose/gem5,gem5/gem5,Weil0ng/gem5,aclifton/cpeg853-gem5,gem5/gem5,aclifton/cpeg853-gem5,TUD-OS/gem5-dtu,TUD-OS/gem5-dtu,sobercoder/gem5,SanchayanMaity/gem5,sobercoder/gem5,powerjg/gem5-ci-test,Weil0ng/gem5,cancro7/gem5,rjschof/gem5,rallylee/gem5,cancro7/gem5,aclifton/cpeg853-gem5,SanchayanMaity/gem5,powerjg/gem5-ci-test,rallylee/gem5,cancro7/gem5,KuroeKurose/gem5,rallylee/gem5,TUD-OS/gem5-dtu,gem5/gem5