qtbase,qtquick1: Porting patches to 5.3.1

Porting the patches to 5.3.1 version of Qt
as we have meta-qt5 master branch pointing
to 5.3.1 version.

Signed-off-by: Sujith H <Sujith_Haridasan@mentor.com>