The French actor, who was also a director and screenwriter, suffered a heart attack on Thursday evening before being hospitalized