[functorch] Fix visibility macros (pytorch/functorch#698)
Previously we were using TORCH_API, which doesn't actually mean much for
us because it is always set to import (windows) or default visibility
(gnu). This PR changes it so that FUNCTORCH_API is set to export/import
(windows) correctly.