hw/ppc: Avoid shifting left into sign bit