libmemtrack: Fix the kgsl memory flag to determine usermapped buffers

The flag is the last character in 'flags' field array. It was wrongly
indexed at flags[6] causing all entries to be marked as unaccounted.
The correct check should be for flags[5] to be equal to 'Y'.

Bug: 20447631

Change-Id: Ibe9b88387a87b2caf37f3b20f8fd702dbef322db
4 files changed
tree: 3dcaa717299868bf6b90cbfc802a4efc193478f1
  1. msm8084/
  2. msm8226/
  3. msm8960/
  4. msm8974/
  5. msm8994/
  6. Android.mk