fix(memmap): ensure terminal width is respected

Python, for one reason or another, doesn't always get access to the
terminal columns environment variable (`COLUMNS`). Instead, switch out
this logic with the Python-recommended way to get the terminal width,
via the `shutil` import.

Change-Id: I3956f10e91b286404c4d9e802d94592a00c746fb
Signed-off-by: Chris Kay <chris.kay@arm.com>
2 files changed