drm_hwcomposer: Run test commit only when it actually needed
Composition testing is expensive. We do not need to spend CPU time when:
- All layers are marked as a client.
- Single device layer are requested with the HW_FB usage flag.
Smoke test was performed and edits show no new issues.
Edited by Matvii Zorin