Catch and properly report compile errors that Less.js's toCSS() can throw

Currently these errors are only reported in the JavaScript console, not in the Customizer UI.
Refs #15296.