Change behavior of lambdify deprecation

Now:
- only warns if `expr.is_Matrix`
- only warns once

Fixes #8030.