display: libmemtrack: Fix null file pointer

File close operation should not be call for null file
pointer.

Change-Id: I947e65cb3eafb6994d24673be27b353a4712936a
CRs-Fixed: 2253400
1 file changed