waf: fix dl reference in vaapi check