osd/ReplicatedPG.cc: fix resource leak

CID 1204294 (#1 of 1): Resource leak (RESOURCE_LEAK)
 leaked_storage: Variable filter going out of scope leaks the
 storage it points to.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>