ecryptfs: fix unlocking in error paths