drivers/video/mmp/core.c: fix use-after-free bug