[crux-commits] ports/core (3.8): curl: cherry-picked commit from upstream per report