Bugfix: only use io.Copy in hijack if attaching both stdout and stderr

Add regression tests to ensure issue is fixed.

Docker-DCO-1.1-Signed-off-by: Matt Heon <mheon@redhat.com> (github: mheon)
Merge pull request #7083 from mheon/6983_bugfix

Fix Panic with -t and -a stderr