mfvideoenc: Remove duplicated class registration code

Merged Seungha Yang requested to merge seungha.yang/gst-plugins-bad:mf-reg-enhance into master

Each codec subclass has the same code for class/element registration, so we can move the code into one helper methodm and that will make future enhancement simple.

Merge request reports