vfs: use kmalloc() to allocate fdmem if possible