bluedroid: Fix build with gcc 4.8+

Use -Wno-error=unused-parameter with gcc >= 4.8

Change-Id: Id7299c8f0a1e2dd683647d49225342ebfa0a8dcf