avoid some halfpel related #ifdef