Same as AbstractFieldDetails.hash, but static, so we can use libgee 0.8 without an API break.
See 673918 This can and should be removed next time we break the API. Note: This uses Gee.HashDataFunc signature, to avoid having to cast.
| value | the value to hash | 
| the hash value | 
0.9.0