Fixed Resource Leaks

Signed-off-by: Daan Hoogland <daan@onecht.net>
CLOUDSTACK-6965: fixed the NullPointerException introduced by fix for cloudstack
6935 in AbstractStoragePoolAllocator#filter method for Zone Wide storage