Fix for 30d2ae539a303f7c3c5e81c58c6a8a477c2b76d9 bad_array_new_length:
honor inheritance chain specified in the standard