Pirates hijack German-owned ship