misc: Support left-justification in printk()
misc: Support left-justification in printk()

This is supported by printf(), and is an important formatting feature
to print out some complex, nicely-formatted information.  This is
accomplished by using a negative padding in the formatting string.

The following code:

      printk("none:         |%u| |%x|\n", 12345, 12345);
      printk("zero_before:  |%08u| |%08x|\n", 12345, 12345);
      printk("space_before: |%8u| |%8x|\n", 12345, 12345);
      printk("space_after:  |%-8u| |%-8x|\n", 12345, 12345);

Will produce the following output:

      none:         |12345| |3039|
      zero_before:  |00012345| |0000000000003039|
      space_before: |   12345| |            3039|
      space_after:  |12345   | |3039            |

Change-Id: I9c2d85a1790087d53b52b7713854adaf99282f09
Jira: ZEP-1599
Signed-off-by: Leandro Pereira <51c7437a02b34df685e6b4ecb2e9bca23efe2e1a@intel.com>

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