Ensures that MethodHandle objects correspoding to invalid const-method-type instructions are not created.