hwc2: Add NULL check for hwc_display in configureDynRefreshRate

Pointer dereferenced without check after pointing to primary hwc_display_.

Change-Id: Ib7577481d10a2d8247fcae6e6cf851b90403308a
CRs-Fixed: 2260973
1 file changed