HBASE-1888 KeyValue methods throw NullPointerException instead of IllegalArgumentException during parameter sanity check