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>