[aml] fixed, pts_pcrscr does not like negative values
[aml] changed, digital_raw => 1 for m1, => 2 for m3
[aml] fixed, audio silence blips, make periodSize >= 1024 by forcing ALSA_PERIODS = 8
[aml] refactor resolution handling
[aml] cosmetics
[gles] fix compiler warning
[gles] fixed, m_iVSyncMode var in two places with different type, opps. pick one, please