target/ppc: Move handling of hardware breakpoints to a separate function