Fixes for MSM devices and fix to PNGQRUSH

Change-Id: Ic5b154a06813fe57d2314fb10ce59b5747b46b57