sdm: Force flush on primary when external displays are connected

Force flush on primary (for command mode panels ) during
secure to non-secure (and vice versa) transitions when
external displays are connected.

Change-Id: I08fd5606cdf5aec64fac3f9d4795185be5f8fb4e
CRs-Fixed: 1081415
9 files changed