Fix undefined variable $status in WC_Admin_Notices::template_file_check_notice()

This closes the #5673