[PATCH 5.15 094/644] dpaa2-switch: Fix device reference count leak in MAC endpoint handling