Fix use-after-scope in EnumConfig
Fix use-after-scope in EnumConfig

Summary: std::initializer_list cannot be stored that way. Use the input to initialize a vector.

Reviewed By: Feng23

Differential Revision: D18075668

fbshipit-source-id: 962a002b9f8e7c372dbda56849f513c4ef695133

facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex