Add ScopedTypeVariables pragma to interactive_terminal_test

Otherwise l. 77 (now 78) "_ :: SomeException" doesn't seem to work.

GHC says:
interactive_terminal_test.hs:77:59:
    Illegal type signature: ‘SomeException’
      Perhaps you intended to use ScopedTypeVariables
    In a pattern type-signature