C wrapper: Add null pointer asserts for the opaque pointers
Allow Android libs to be built with debugging symbols enabled