ShallowEtagHeaderFilter skips "Cache-Control" header check on Servlet 2.5

Issue: SPR-12414
(cherry picked from commit bf9295b)