On the oxygen isotope shift in La2−xSrxCuO4