kernel: Enhance memory pool block allocation routine
kernel: Enhance memory pool block allocation routine

Revises algorithm for allocating an existing free block to make it
more compact (and efficient) by using the same logic to handle the
allocation of any block within a quad-block.

Also enhances routine name and comments to make it easier to
understand what is going on.

Change-Id: I55ca513e6f85df2b548502262e4dbe6bb272596b
Signed-off-by: Allan Stephens <1038bc33971d2c23c8e2eee8dd6938c077db52dc@windriver.com>

tidyjiang8/zephyr-doc,sharronliu/zephyr,fbsder/zephyr,sharronliu/zephyr,bigdinotech/zephyr,holtmann/zephyr,zephyriot/zephyr,explora26/zephyr,runchip/zephyr-cc3200,finikorg/zephyr,bigdinotech/zephyr,bboozzoo/zephyr,fractalclone/zephyr-riscv,bigdinotech/zephyr,Vudentz/zephyr,rsalveti/zephyr,ldts/zephyr,mbolivar/zephyr,galak/zephyr,kraj/zephyr,GiulianoFranchetto/zephyr,rsalveti/zephyr,fbsder/zephyr,runchip/zephyr-cc3200,galak/zephyr,explora26/zephyr,holtmann/zephyr,sharronliu/zephyr,fractalclone/zephyr-riscv,mirzak/zephyr-os,kraj/zephyr,tidyjiang8/zephyr-doc,mirzak/zephyr-os,explora26/zephyr,zephyrproject-rtos/zephyr,kraj/zephyr,explora26/zephyr,fbsder/zephyr,Vudentz/zephyr,erwango/zephyr,kraj/zephyr,punitvara/zephyr,ldts/zephyr,rsalveti/zephyr,runchip/zephyr-cc3220,zephyriot/zephyr,pklazy/zephyr,bigdinotech/zephyr,galak/zephyr,erwango/zephyr,punitvara/zephyr,pklazy/zephyr,rsalveti/zephyr,Vudentz/zephyr,finikorg/zephyr,explora26/zephyr,nashif/zephyr,Vudentz/zephyr,erwango/zephyr,runchip/zephyr-cc3220,mbolivar/zephyr,sharronliu/zephyr,zephyrproject-rtos/zephyr,fbsder/zephyr,mirzak/zephyr-os,erwango/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,runchip/zephyr-cc3220,nashif/zephyr,erwango/zephyr,runchip/zephyr-cc3200,finikorg/zephyr,GiulianoFranchetto/zephyr,bigdinotech/zephyr,pklazy/zephyr,bboozzoo/zephyr,mbolivar/zephyr,pklazy/zephyr,runchip/zephyr-cc3200,fractalclone/zephyr-riscv,kraj/zephyr,runchip/zephyr-cc3220,holtmann/zephyr,holtmann/zephyr,aceofall/zephyr-iotos,GiulianoFranchetto/zephyr,Vudentz/zephyr,aceofall/zephyr-iotos,mirzak/zephyr-os,runchip/zephyr-cc3220,galak/zephyr,punitvara/zephyr,tidyjiang8/zephyr-doc,galak/zephyr,zephyriot/zephyr,punitvara/zephyr,mbolivar/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,bboozzoo/zephyr,Vudentz/zephyr,ldts/zephyr,sharronliu/zephyr,zephyriot/zephyr,aceofall/zephyr-iotos,holtmann/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr,pklazy/zephyr,tidyjiang8/zephyr-doc,nashif/zephyr,rsalveti/zephyr,aceofall/zephyr-iotos,punitvara/zephyr,mirzak/zephyr-os,aceofall/zephyr-iotos,nashif/zephyr,fractalclone/zephyr-riscv,ldts/zephyr,zephyriot/zephyr,finikorg/zephyr,runchip/zephyr-cc3200,bboozzoo/zephyr,GiulianoFranchetto/zephyr,fbsder/zephyr,tidyjiang8/zephyr-doc,mbolivar/zephyr,bboozzoo/zephyr,fractalclone/zephyr-riscv,zephyrproject-rtos/zephyr