gstelementfactory: Fix missing features in case a feature moves to another filename

In case a plugin filename was renamed with the plugin being in the registry cache
the features were not loaded after the rename:

1) Cache of old/gone filename was loaded, features added
2) New filename was loaded, features where not added because
   they were already found in the registry.
3) In the end stale cache entries for files which are no longer there
   are removed, including the wanted features.
4) The cache gets updated without the features.

Fix this by also checking at (2) that the found feature is from the loaded plugin
and not from some stale cache entry.

This affected directsoundsink where libgstdirectsoundsink.dll was renamed
to libgstdirectsound.dll, losing the directsoundsink element in the process.

Fixes #290
8 jobs for element-factory-fix-feature-move-cache in 47 minutes and 43 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Preparation
passed #149248
gst indent

00:00:31

passed #149247
manifest

00:00:35

 
  Build
passed #149249
build fedora x86_64

00:03:02

 
  Test
passed #149250
check fedora

00:03:24

 
  Full Builds
passed #149251
build android arm64 api28

00:04:47

passed #149253
build cerbero cross win32

00:40:40

passed #149254
build cerbero cross win64

00:38:13

passed #149252
build cerbero fedora x86_64

00:31:41