vlc_objects: add C++ helper for vlc_object_create
When running code in C++, remove the macro which is applying regardless of the language context, and provide dedicated function overload for the same effect. In addition, provide a dedicated wrapper avoiding cast and size specification.