net: dsa: mv88e6xxx: add chip allocation helper