Fix expected exception output for bug00397.phpt