agl-compositor:Add NULL check after zalloc in src directory