Add compatibility wrapper for Buffer.get_mark