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

This reverts commit 876d6b2a96956c44183750b08b9441c933b84b41.