ac/surface: don't allocate FMASK if there is no graphics