glapi: fix incorrect/missing return types for glFenceSync(), glClientWaitSync()