LONDON—Bob Hoskins never lost his Cockney accent, even as he became a global star who charmed and alarmed audiences in a vast range of roles.