Undefine near if it is already defined to prevent a build issue

In some Windows Embedded 7 SDKs near is still defined, so we need to
undefine it in those cases.

Task-number: QTBUG-32571

Change-Id: I0d48b9dafa2af31f88f48746bfcf4df9fe824554
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Add changes-5.1.1 file

Change-Id: I6bcc56af5bd19e1e6a9c15719e310461bc8dc1fd
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Merge remote-tracking branch 'origin/release' into stable

Change-Id: I02b963a3905fd55b1fc8e1d2204ffaee584eaa56