Fix hasOwnProperty check typo in mixStaticSpecIntoComponent

In rare cases rest of statics may have been ignored due to early return instead of continue.