media/guardian.lua: Check for expired content (BACKPORTpt4)

* Backported from maint-0.4 (22ff394)

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>