Fix explicit instantiations

Summary: This fixes explicit instantiations of android::Singleton.

Test Plan: verified

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D145
libgralloc & libhwcomposer: do not use GNU old-style field designators
msm8960: Add liblights guard