Merge "intrusive refcount for encoders so we dont need cleanup callback" am: 2a3bc5d2b8

Original change: https://android-review.googlesource.com/c/device/generic/goldfish-opengl/+/1413670

Change-Id: I3bdf16a3aa4b47a457bbc8bbe97e927bff50f221