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