drm_hwcomposer: Reorganize modifiers handling logic
Reasons for this change:
- Remove redundant code lines.
- Workaround for cases when DRM_FORMAT_MOD_INVALID is set by gralloc.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Reasons for this change: