orocos_kdl: explicity declare friend functions outside the classes

Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>