Fix #2489 again: preserve bound methods length property

Hi, this is yet another approach trying to fix #2489 .

I read through the discussion of #2489 #2872 , and I came up with this solution. Since `__bind` is not a public part, patching it will not break anything.