Add dirty-images-objects handling to boot image build.

Allows grouping of classes with dirty static fields to be grouped
together in the image to have fewer dirty pages.

Bug: 62554875
Test: mm test-art-host

(cherry picked from commit 865d54caf29acbf576b70428da015a38603dec8e)

Change-Id: Id711ad1c2d98b12b0f55a29acca8a96834d69ede
4 files changed