idct8x8: Fix undefined negative shifts