Fix `EmptyLinesAroundAccessModifier` incorrectly flagging methods that look like access modifiers.

Closes #1484.