Vita husets stabschef John Kelly lämnar sin post före årets slut, meddelar USA:s president Donald Trump enligt amerikanska medier.