PSOutputDev: Fix memory leak on broken files

oss-fuzz/29330
7 jobs for 29330 in 6 minutes and 40 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #6503038
build

00:05:18

passed #6503043
build_android

00:00:57

passed #6503039
build_clang_libcpp

00:06:39

passed #6503042
build_clazy

00:04:38

passed #6503041
build_mingw64_fedora

00:03:22

passed #6503040
build_ubuntu_16_04

00:03:30

passed #6503037
clang_format

00:01:43