Daredevil: Born Again star Charlie Cox was told he was "too old" at 44 to play James Bond, a role that went to 40-year-old Robert Pattinson.