JJ Gabriel has announced he is leaving Manchester United as he looks forward to his "next chapter" at Real Madrid.