[PAL] Fix the missing of closing the cached_file
cached_file is a PAL_HANDLE, which in the case of out will be released by _DkObjectClose(cached_file).
In the normal case, before returning &obj->map, this resource allocated within the function should
also be released to prevent it leaking out side of the function scope.
Signed-off-by: Gary <gang1.wang@intel.com>