Fix singleton method parsing

Previously, when defining singleton via eigenclass would
incorrectly set parsed method's #singleton attribute

Spotted in [ruby-core:64157]

Signed-off-by: Aleksandrs Ļedovskis <aleksandrs@ledovskis.lv>
Merge pull request #316 from aledovsky/bug/singleton_class_methods_via_eigenclass

Fix singleton method parsing