Update shifting of data to better handle out of bounds conditions
Update shifting of data to better handle out of bounds conditions

Signed-off-by: Steven Janssen <856622d270cf159a96f7d8ce6dd54fb1fcb1bda5@us.ibm.com>

mklight/eCMD,open-power/eCMD,mklight/eCMD,open-power/eCMD,mklight/eCMD,open-power/eCMD,open-power/eCMD,mklight/eCMD,mklight/eCMD,open-power/eCMD