ecryptfs: replace BUG_ON with error handling code