[njs] Improved njs_object_length() and friends prototypes.