[PATCH 17/36] virStorageSourceIsSameLocation: Use switch statement for individual storage types