replace all goto pfail with fail_if, so that we can take whence it failed

Signed-off-by: Mattias Andrée <maandree@operamail.com>