Fermi large area telescope detection of extended gamma-ray emission from the radio galaxy Fornax A