Update advagg_views_pre_render() to conditionally append prefix and suffix
Update advagg_views_pre_render() to conditionally append prefix and suffix tags only when attachment_before and attachment_after are not empty. This avoids unnecessary tags when the variables are empty.
Closes #3423325