fix bugs in eglDestroySurface and remove surface and context from cache