Add support for null conversion to array_to_raw_qtemporal() function