Do not use inline convenience functions

If the convenience functions are not defined in android headers,
the compilation and linking might still go through, but but we
end up with a DSO that has unresolvable symbol dependencies.

Use locally defined substitutes instead.

[hybris.so] Do not use inline convenience functions