Fix apitrace-3.0 with libpng-1.6