AST/StreamIn.pm: Use croak instead of die