Revert "Activate automoc only for `Graphics_Test_Common` library."

This reverts commit 5525f852b3e793e6dc840808d75b3dfd30e5f3de.