Introduce bitmap api backport compatibility class

- Back-port getByteCount() API earlier than API Level 12.