Revert "MMFMWK-8006 waylandsink: don't check if buffer used by compositor when attach"

Need this check but change to return directly instead of assert fail

This reverts commit 61a132df0ddb90a9ebef1ae6ec4df4d98eb1712f.
1 file changed