[scalac-plugin] Fix compatibility warning between 2.10 & 2.11