Fix pipeline-uniform/-attribute error message

Throw right error message when not compiled