A Greek bulker has been acquitted of pollution offences after a Japanese shipbuilder was blamed for defects that caused a bunker spill in Canada in 2015.