Actress and writer Jeannie Gaffigan has surgery for brain tumor