A Long Hard-X-Ray Look at the Dual Active Galactic Nuclei of M51 with NuSTAR