Filter out empty psiElements in ScalastyleCodeInspection
#SCL-7397 fixed
(cherry picked from commit 542748a)