[GHC] #9480: Segfault in GHC API code using Shelly