Entropy Optimization in Magnetohydrodynamic Flow of Third-Grade Nanofluid with Viscous Dissipation and Chemical Reaction