powerpc: Allow create_branch() to return errors