The Pattern of CN, O, and Na Inhomogeneities on the Red Giant Branch of Messier 5