Police officer called to remove a homeless man from a restaurant buys him a meal instead