mixer: add get/set_array API

This replaces (and extends) the existing get/set_bytes
API, which is no longer required.