The Foreign Office says wildfires in northern Portugal are being brought under control but risks remain.