packaging: Add HEIF support for 3rdparty builds
Heif only builds correctly with pkg-config using configure script, cmake build
does not create install targets and cannot find dependencies.
pkg-config is needed as defining dependencies directories as stated in
configure --help, does find the libraries but creates linker errors using
libde265 and x265 include flags.