[SPARK-4250] [SQL] Fix bug of constant null value mapping to ConstantObjectInspector

Oh, thanks, I thought it will be considered as Boxed primitives.