Arrangement of ship-based loading or unloading equipment for floating cargo