mpegvideo: Refactor emulated_edge_mc calls