Extend CHKBIT() to throw a warning if it hits an out of bound bit number.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Fix Sparse warnings from casts in macros

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>