Fix miscelaneous compile failures for sunCC

cmComputeLinkDepends.cxx: Ambiguous const resolution for rbegin
cmFindPackageCommand.cxx: Ambiguous template resolution for make_pair
Merge topic 'misc-sunCC-fixes' into next

fef5e640 Fix miscelaneous compile failures for sunCC