Add ability to set DIB_IMAGE_SIZE parameter for CentOS images

Change-Id: Icdc8a92558fc5df84d040172ef97441db7942526
Partial-bug: #1304100
(cherry picked from commit d822dc4318b4de0096183c63148c5cbac58a4383)