SWDEV-234709: redirect printf to stderr if specified by device code
SWDEV-234709: redirect printf to stderr if specified by device code

The first qword in the printf messages is called the control
qword. If the LSB is set, then the output of the printf is now
redirected to stderr instead of stdout.

Change-Id: I391e04e6e8e0f231fda56f3a6e02703bf50e1924

ROCm-Developer-Tools/ROCclr,ROCm-Developer-Tools/ROCclr