[PATCH v2 1/2] d2d1: Derive shared bitmap format from the source bitmap.