Latest version of .NET Framework broke Get-PEHeader

To fix this, I needed to explicitly cast types in the SizeOf and
PtrToStructure methods.