Revert "add  -Wno-error=unused-parameter to global flags for linaro building"

This reverts commit 8b68ba9c4c5ea6c35a3f2085340fe1a71a4ac9d3.