hdf: Add support for pointers in NewDataTypeFromType()
Created by: TacoVox
This small patch introduces support for pointers to datatypes in the NewDataTypeFromType function. This enables support for different use cases, e.g. usage with google.com/gopacket
Co-authored-by: Gustaf Johansson gustaf.j@gmail.com