serialstruct: add sizeof/offsetof generic attributes
pe: add pehash computation