Added PMEM and VSYNC fix from CAF

Change-Id: I2b003c53d7c7c2c014888d3ab0467e953ac9716d