Handle NoReverseMatch exception in `{% print %}` tag

Getting this error may cause the entire template blocks to render empty.
This was seen in the Django 1.4.8 admin views for example.