[PATCH V2 1/5] common: bouncebuf: Permit passing custom alignment check function