[composer] Catch CRS exceptions when drawing grid lines

Prevents bad grid parameters for a transformed grid flooding the user
with hundreds of unclosable error message boxes.