java_gen.PrimitiveSinkUtils - add putNullableTo

Reviewer: @meiyangbigswitch