'Slumdog' Star Joins 'Planet of the Apes' Prequel