afs: Change afs_AllocDCache to return error codes