Fix CUDA build
The merge of !1529 (merged) broke the CUDA build, because the configurable of a Gaudi-Allen wrapper was indirectly imported somewhere when building the functor cache and the wrappers are not built in the CUDA build. This moves the import statement to avoid that issue.