dma: Extend api to allow get controller attributes
dma: Extend api to allow get controller attributes

Added a new get_attribute function to the dma driver api.

Signed-off-by: Adrian Warecki <3bc0c3dcbee80269f62e7fb9cd91c0d3be884dd9@intel.com>

zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr