Fixed ConcurrencyException in ShadowLocationListener

Currently when calling ShadowLocationListener:removeUpdates() inside LocationListener:onLocationChanged() a java ConcurrencyException is thrown because the location listener is removed from a list, while the same list is being iterated.
This PR fixes this issue.
nit: space after `if`