arch: arm: nxp mpu: refactor internal mpu functions
arch: arm: nxp mpu: refactor internal mpu functions

Refactor internal NXP MPU region re-programming functions
to take as argument a pointer to k_mem_partition objects,
instead of the object itself.

Signed-off-by: Ioannis Glaropoulos <5921cc8bab7e1d4329f52fd8f6268f9692e3de80@nordicsemi.no>

nashif/zephyr,Vudentz/zephyr,nashif/zephyr,ldts/zephyr,nashif/zephyr,ldts/zephyr,finikorg/zephyr,galak/zephyr,Vudentz/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr,ldts/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,Vudentz/zephyr,finikorg/zephyr,GiulianoFranchetto/zephyr,finikorg/zephyr,galak/zephyr,Vudentz/zephyr,galak/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,Vudentz/zephyr,nashif/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,GiulianoFranchetto/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr