Update ramdisk.c

make sure the fdWrite is not none pointer,
"if (fdWrite->fileDescriptorTable[fd].inodePointer == NULL)" won't cause kernel BUG.