soyhtml/funcs: convert nil return value to data.Null to avoid panics elsewhere