In load_array_length() cast array's type to TypeOopPtr when calling make_ideal_length() method. Reviewed-by: never