Man injured when dumpster emptied into garbage truck