minigbm: cros_gralloc: fix modifier serialization/de-serialization

We were only filling up the first five entries of the modifier array
in the handle, and we were doing it incorrectly. Fix this.

BUG=chromium:616275
TEST=compiles

Change-Id: I435f88db1b16af919081122a502cbe7d7fc9e3d9
Reviewed-on: https://chromium-review.googlesource.com/457289
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Haixia Shi <hshi@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
2 files changed