Universality for general Wigner-type matrices