mesa: Add error path in compressed_texture_error_check.