Retain migration 12 indexes for table image_properties with sqlite.

The upgrade from migration 11 to 12 for sqlite fails to create the
existing indexes when it recreates the image_properties table.

Fixes bug: 1152386

Change-Id: I2ceba3d9c5c45f40564af12fa48c4efba1467021
Merge "Retain migration 12 indexes for table image_properties with sqlite."