coredump: make sure variable is set if uncompressed

reorder the code so the fstat is done before we can jump to
uncompressed
coredumpctl: fix potential deref of null pointer