cainteoir::buffer: don't crash if a nullptr is passed to the constructor