fsl_diu_fb: further refactoring of FSL DIU code