Portugal said it was willing to resettle some Guantánamo detainees and urged other European countries to accept prisoners remaining at the camp.