Corn and green chili tamale casserole