Jamie Foxx makes “Beat Shazam” a family affair