don't build gralloc stuff on non-b2g
SPS: avoid crash and use right register on ARM
SPS: allow feature selection via env var
bogus stuff that got reverted in adding back gralloc changes