Gardner seals Palace loan move