Fix is_opaque calculations in winscope am: 4b8e9f9b1f

Change-Id: Id05a9a0b823228b22081165450ecea141e772d4c