Ham Loaf with Pineapple Topping