Blowing up of two-dimensional magnetohydrostatic equilibria by an increase of electric current or pressure