Brazilian ports hurt by general strike but less than feared