sdm: Protect unbalanced ROI in dump
am: 06b0836470

Change-Id: I9ed7bd0e0d6fe6b80071ff7e79ada9adbac1cb86