Bug 977777 - Add fence handling to GonkNativeWindowKK r=pchang,schiu