Add missing unlocks to error paths of mountpoint_last.