Establish proper CheckAccessControls#currentClass when traversing prototype-assigned object literals

Fixes #495