powerpc/pmac: Add missing unlocks in error path