qca2: Patch for gcc 4.7+ (close #738).

Thanks to
http://lists.pld-linux.org/mailman/pipermail/pld-cvs-commit/Week-of-Mon-20120917/347917.html