[lib][bitmap] Add dual-mode library for run-length encoded bitmaps Change-Id: I0ea5e6533135721ebd596b63f9b47aebc4e706ca