Revert "hwc: Fix klockwork errors"

This reverts commit 1db3ddb746fa0bcbfe5b221305f2b2241ebd5598.
Revert "overlay: Remove obsolete code from pipe config path"

This reverts commit d28bfa7fd9240ec622e16040b7b27106200bf198.