PE/resource: decode resource type when converting to/from hash
PE/resource: decode resource type when converting to/from hash

davidechiappetta/metasm,rootml/metasm,pombreda/metasm,jimokkerse/metasm,exported/metasm,steeve85/metasm