The NSW government has announced plans to repurpose up to 20 hectares of Sydney's Moore Park Golf Course into a public park.