Remove unnecessary extractInterface

Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
Remove unnecessary bool2any

Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
Adapt to osl_atomic_inc-/decrement

Change-Id: I848873b07ab05cefdc755a8bf1301907fdfbc299