Surface brightness correction for compact extended sources observed by the AKARI Far-Infrared Surveyor in the slow-scan mode