Either will work to thicken gravy, but toasted flour stirred into a roux with brown butter adds a lot more flavor than neutrally flavored cornstarch.