Modify week to start from 0

Time::Piece has week number ranged from 1 to 53, but syslog-ng ranges from 0
to 52. Thus, the week number is simply decremented at the end of the
subroutine.