Electron-spin-resonance line broadening around the magnetic phase transition in manganites