hwc2: Add check for null display in PresentDisplay

Add check for null display to fix potential null pointer dereference
if unplug happens before lock is aquired by PresentDisplay.

Change-Id: I440ddcce744c83fead614dd7d2b138121965f512
1 file changed