Shelved NASA spacecraft could spy on asteroid Apophis before 2029 Earth flyby