FB_ALIGN(n, b) is always ((n + b - 1) & ~(b - 1))

this is is how is defined in ibase.h and firebird pub headers for all platforms
Merge pull request #30 from mariuz/patch-4

FB_ALIGN(n, b) is always ((n + b - 1) & ~(b - 1))