Fix error check for surface type in setSurface

Check was overly restrictive and would generate errors for
U8_4 buffers if KIND was not RGBA.  Also no error would be reported.

Change-Id: I7c032f2354a58178ad164fca6e9a0edf680b8316
1 file changed