Sustainable Access to Acridin-9-(10H)ones with an Embedded m-Terphenyl Moiety Based on a Three-Component Reaction