The Average Layoff Lasts 5.5 Months. Here Is How to Protect Your Money Before the Job Search Starts