Daredevil star Charlie Cox says he was denied a James Bond audition after being told he was already "too old" to play 007.