NSW man jailed for failed drug smuggling