Add complier warning -wunused and related fixes. In particular, match use of -Wno-unused-function to that in libvpx master branch. Change-Id: I027a4f2a540af5a304b358ddbf293965b4211b9e