hwc: locally define FB_FLAGS if they aren't globally defined

Change-Id: I9fe0856ffff3e927f3b364b423a8b7362e6490e0