build: x86: Only compile mpegvideo optimizations when necessary