Replace 2D pointer reads with rsGetElementAt().

Change-Id: I783b372532d9345783c8f3860060c241b390bc16
4 files changed