panfrost: Meson dependency
Declare a meson dependency for libpanfrost and wrap some key functions within an extern C block allowing proper compilation by C++ compilers.
This is a requirement for allowing panfrost utils to be used by external C++ projects, such as a perfetto datasource.
Some preliminary comments about this changes can be found here.