clean up mdp4_overlay.c