The “Chuck” actor will play the underrated DC Comics superhero who can transform from a kid into an adult in the “Shazam” film out in 2019.