Remove template patameters from friend declarations in interator.

This PR fixes Unordered broken in commit https://github.com/boostorg/unordered/commit/b4795f414d69581a0fedf268108582a3010a9507