[sgen] Use longs with nursery array fill (#9202)