Replace local array size calculations with NELEM().