jtagmm: Add save-restore support for Debug and ETM registers

Debug and ETM registers do not retain their state on a power collapse.
This change provides save-restore support for these registers using
memory mapped access in case cp14 access to these registers is not
permitted.

Change-Id: I8e3ed63102f64677e691dd4575e711f4a28af601
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
5 files changed