g3-common: add missing libHDR