trim (`l` | `L`) in the integer literal before base caculation

This is a hot fix as some one reports error on issue https://youtrack.jetbrains.com/issue/SCL-7874.