Using the Cyanide Radical to Trace Dense Molecular Gas in Nearby Star-Forming Galaxies