anv: fix casting to graphics_pipeline_base
What does this MR do and why?
anv: fix casting to graphics_pipeline_base
The macro takes the type of the pipeline to check for, but the cast to
base checks for a full graphics pipeline, so if used on a library one it
fails.