lib: build bitmap.c with -Os instead of -O2 to allow build with stock toolchain

Change-Id: I99c45b3e8d56f4cd1698ed093d702b60fa67fcdb