[CPP]: Fix perf test build for Java SBE after metadata change with introduction of messageSchema.id