Fix a NULL ptr deref.

While testing authenticode parsing I came across a binary which does
not have a rich signature. Calling pe.rich_signature.hash() caused
a NULL pointer dereference.