Fix compilation warning and test of RAM resources in XrdFilePrefetch::Prefetch::CreateTaskFromFirstDownloadedBlock()

Fix compilation warning and test of RAM resources in Prefetch::CreateTaskFromFirstDownloadedBlock().