sdm: Refactor framebuffer refresh condition.

1. Remove layer count check as geometry change check takes care of it.
2. Do not refresh framebuffer of external display during animation and
   mark layers for SDE Composition to disable animation on external.

Change-Id: I1041b840ed7b0fc55178558636032779cb9598da
1 file changed