Add 'remove_unused_kernels' new cfg option.

Refers bug #1132138

Change-Id: I3b251583fd075fd97f9fe57f16557fdad3dfa245
Merge "Add 'remove_unused_kernels' new cfg option."