On the Loewy length of the center of a block with elementary abelian defect groups