sdm: Set max_layers to 0 when HDMI is in S3D mode

1. Set max_layers to 0 if HDMI is in S3D mode. So that primary
display will fall back to GPU composition and release pipes for
HMDI, especially in Top-Bottom S3D mode and 2k/4k S3D video cases.

2. Change property name "sdm.hdmi.s3d_enable" to "sdm.hdmi.s3d_mode"
to support top-bottom mode. The property value is: 1 for left-right
mode, 2 for right-left mode, 3 for top-bottom mode, and 4 for frame
pack mode.

3. Populate S3D mode in panel info to strategy extension.

CRs-Fixed: 977346
Change-Id: If0fd5710206f862265f487ebb2705958c01fa9cc
6 files changed