Do not just silently fail if surface creation fails

Some apps do not check if they actually got a surface (e.g. bootanimation)
So this helps the track crashes down to the cause.

Change-Id: I6e74bdb52ad7ebe260b0ec1777c585781f6bbd42
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_frameworks_native into cd-4.4