[PATCH 5.4 005/388] media: mc-device.c: fix memleak in media_device_register_entity