Update flash message twig template

hasFlash is deprecated in 2.3