On the instability of electrostatic waves in a nonuniform electron-positron magnetoplasma