Linear mode conversion of waves near the maxima or minima of the density in a warm magnetized plasma